package edu.zut.cs.javaee.manager.department.service;

import java.util.List;


import edu.zut.cs.javaee.manager.base.service.GenericTreeManager;
import edu.zut.cs.javaee.manager.department.domain.Department;



public interface DepartmentManager extends GenericTreeManager<Department,Long>{
	/**
	 * query name by department.name
	 * @param name
	 * @return
	 */
	List<Department> findByName(String name);
	
	/**
	 * query name by department.name
	 * @param sno
	 * @return
	 */
	List<Department> findById(String sno);
	
	
	List<Department> deleteById(String sno);
	
	
//	List<Department> findAll();
}
